package com.j283_5.wisdom_park.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.j283_5.wisdom_park.common.result.ResultData;
import com.j283_5.wisdom_park.pojo.CarInformation;
import com.j283_5.wisdom_park.pojo.Visitors;
import com.j283_5.wisdom_park.vo.car_management.CarVo;
import com.j283_5.wisdom_park.vo.car_management.FindCarVo;
import org.springframework.transaction.annotation.Transactional;

import javax.websocket.server.PathParam;
import java.util.ArrayList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public interface CarInformationService extends IService<CarInformation> {
    //多条件查询所有
    ResultData carInformationList(Page<CarInformation> page, FindCarVo findCarVo);
    //添加车辆信息
    ResultData addVisitors(CarVo carVo);
    //删除车辆
    ResultData deleteVisitors(ArrayList<Integer> cinfIdList);
    //查询车主信息
    ResultData findCarOwner(String ownerName , String ownerType);
    //查询车辆详细信息
    ResultData findOneCar(Integer cinfId);
}
